<div class="requests form">
<?php echo $this->Form->create('Request');?>
    <fieldset>
         <legend><?php __('New Request'); ?></legend>
    <?php
        echo $this->Form->input('member_id', array('div' => 'input select inline-block required', 'empty' => true));
        echo $this->Html->div('input date inline-block required');
        echo $this->Form->label('Request.for_month', 'For Month');
        echo $this->Form->hidden('Request.for_month.day', array('value' => '01'));
        echo $this->Form->month('Request.for_month', date('m'), array('empty' => false));
        echo '-';
        echo $this->Form->year('Request.for_month', '1995', date('Y'), date('Y'), array('empty' => false));
        echo '</div>'
    ?>
    </fieldset>
    <fieldset>
        <legend><?php __('Request Items'); ?></legend>
        <table>
            <tr>
                <th class="required"><label>Category - Sub Category</label></th>
                <th><label>Description Of Activity</label></th>
            </tr>
        <?php for ($i = 0; $i < 10; $i++) { ?>
            <tr>
                <td><?php echo $this->Form->input("RequestItem.$i.sub_category_id", array('selected' => '', 'div' => false, 'label' => false)); ?></td>
                <td><?php echo $this->Form->input("RequestItem.$i.description", array('type' => 'textarea', 'rows' => 2, 'div' => false, 'label' => false)); ?></td>
            </tr>
        <?php } ?>
        </table>
    </fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>